//
//  RadioListCell.m
//  Lianxi2
//
//  Created by lanou on 16/7/5.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "RadioListCell.h"
@interface RadioListCell()
@property (weak, nonatomic) IBOutlet UIImageView *photo;
@property (weak, nonatomic) IBOutlet UILabel *title;

@property (weak, nonatomic) IBOutlet UILabel *name;



@end

@implementation RadioListCell

- (void)setCellWithModel:(id)model{
    RadioModel *mode = model;
    
    [self.photo sd_setImageWithURL:[NSURL URLWithString:mode.coverimg]];
    self.title.text = mode.title;
    self.name.text = mode.uname;
    
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
